﻿using NHibernate;

namespace Myotragus.Data
{
	public interface ISessionFactoryAdapter : IService
	{
		ISessionFactoryAdapter SetFactory(ISessionFactory factory);

		ISession OpenSession();
	}
}